package com.xc.hotelmgr.datahandlermt.sdk;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

// 请求基类
@Data
@Getter
@Setter
public class FxBaseApiRequest {

    private String accesskey = "a71f1cf254be482386d30c7255cf5757";

    private String data;

    private String method;

    private int nonce;

    private int partnerId = 22445;

    private long timestamp;

    private String version;

    private String signature;

    @JSONField(serialize = false)
    private String secretKey = "427f2b1881d172ce2cf64c86b280940c";

    public FxBaseApiRequest(){}

    public FxBaseApiRequest(int partnerId, String secretKey, String accesskey, String method, String data) {
        this.partnerId = partnerId;
        this.accesskey = accesskey;
        this.secretKey = secretKey;
        this.method = method;
        this.data = data;
    }


}

